package com.tmpt.dto;


import com.inspiresoftware.lib.dto.geda.annotations.Dto;
import com.inspiresoftware.lib.dto.geda.annotations.DtoField;

import java.io.Serializable;
import java.sql.Timestamp;


@Dto("com.tmpt.beans.A2MenuFunction")
public class A2MenuFunctionDto  implements Serializable{//功能权限
	private static final long serialVersionUID = 1L;

	public enum AccessType{read,write,secret};

	@DtoField
	private long id;// 功能ID ;
	@DtoField
	private String text;// 功能名称 ;
	//public object code;// 功能编号 ;
	@DtoField
	private String url;// 功能URL权限 ;
	@DtoField
	private int accessTypeLevel ;//read 0,write 1,secret 2 访问权限
	@DtoField
	private int deleteFlag ;//default0,1已删除
	@DtoField(readOnly=true)
	private Timestamp createDate ;
	@DtoField
	private String modifyMan ;
	@DtoField
	private Timestamp modifyDate ;
	@DtoField
	private String createMan ;
	

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getModifyMan() {
		return modifyMan;
	}

	public void setModifyMan(String modifyMan) {
		this.modifyMan = modifyMan;
	}

	public Timestamp getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getCreateMan() {
		return createMan;
	}

	public void setCreateMan(String createMan) {
		this.createMan = createMan;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public int getAccessTypeLevel() {
		return accessTypeLevel;
	}

	public void setAccessTypeLevel(int accessTypeLevel) {
		this.accessTypeLevel = accessTypeLevel;
	}

}
